package peppa.george.base.Util;

import lombok.Data;

@Data
public class JsonResult {
    private String msg = "请求成功";
    private Boolean success = true;
    private Object objectData;

    public static JsonResult me(){
        return new JsonResult();
    }
    public JsonResult setMsg(String msg){
        this.success=false;
        this.msg=msg;
        return this;
    }
}
